import { Injectable } from '@angular/core';
import {Http} from "@angular/http";
import {Observable} from "rxjs";

@Injectable()
export class ExamListService {

  constructor(public http: Http) {

  }

  getExamList(page: number): Observable<any>{
      return this.http.get('/api/exam/list?page='+page);
  }

}
